﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="js_data"  contenttype="text/javascript"  Codebehind="ui.data.aspx.cs" %>
<%--use this file for db driven javascript variables--%>
var siteRoot = "<%= ResolveUrl("~") %>";
var MockupsAjaxStub = "<%= ResolveUrl("~/MockupsAjaxStub.aspx")%>";
var minviewport = 960;
var maxviewport = 1300;
$(function(){
	var $body = $(document.body);
	<%--localization prefixes are not strings rather variables needed on different platofmrs--%>
	$body.data("Localization.DateFormat","d-m-yy"); <%--yy is four digits, y is one 2 digits (bummer!) // dd for leading zero--%>

	<%--resources are for strings, make sure no upper case comes back, let ui decide if the first letter is sentence cased using "string.toSentenceCase()"--%>
	$body.data("Resources.stringname","string value"); 
});

